package com.fooddiary.web.form;

/**
 * 
 * @author Created by andrey.kuznetsov <br>
 * @author Last modified by $Author$ <br>
 * @author Last modified on $Date$ at revision $Revision$ <br>
 */
public class UserProfileForm extends RegistrationForm{

	private Integer id;
	private Short enabled;
	private String oldPassword;
	
	/**
	 * Returns unique id of user <br>
	 * @return {@link Integer};
	 */
	public Integer getId() {
		return id;
	}
	
	/**
	 * Sets unique id of user <br>
	 * @param p_id - {@link Integer};
	 */
	public void setId(Integer p_id) {
		id = p_id;
	}
	
	/**
	 * Returns enabled state user <br>
	 * @return {@link Short};
	 */
	public Short getEnabled() {
		return enabled;
	}
	
	/**
	 * Sets enabled state of user <br>
	 * @param p_enabled - {@link Short};
	 */
	public void setEnabled(Short p_enabled) {
		enabled = p_enabled;
	}
	
	/**
	 * Returns old password od user <br> 
	 * @return {@link String};
	 */
	public String getOldPassword() {
		return oldPassword;
	}
	
	/**
	 * Sets old password of user <br>
	 * @param p_oldPassword - {@link String};
	 */
	public void setOldPassword(String p_oldPassword) {
		oldPassword = p_oldPassword;
	}
}
